@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>管理</h5>
            </div>
            <div class="ibox-content">
                <input type="hidden" id="orgId" value="${org.id}">
                <input type="hidden" id="areaId" value="${org.areaId}">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3" style="width: 11%">
                                <#NameCon id="id" name="编号" />
                            </div>
                            <div class="col-sm-3" style="width: 11%">
                                <#NameCon id="accountName" name="账号" />
                            </div>
                            <div class="col-sm-3" style="width: 11%">
                                <#NameCon id="name" name="家长姓名" />
                            </div>
                            <div class="col-sm-3" style="width: 13%">
                                <#NameCon id="studentName" name="学生姓名" />
                            </div>
                            <div class="col-sm-3" style="width: 13%">
                                <#SelectCon id="phaseId" name="学段" underline="true">
                                <option value="">所有学段</option>
                                @for(phase in phaseList){
                                <option value="${phase.id}">${phase.name}</option>
                                @}
                            </#SelectCon>
                        </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="PtPeople.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="PtPeopleTableToolbar" role="group">
                            @if(shiro.hasPermission("/ptPeople/add")){
                                <#button name="添加" icon="fa-plus" clickFun="PtPeople.openAddPtPeople()"/>
                            @}
                            @if(shiro.hasPermission("/ptPeople/Import")){
                                <#button name="批量新建" icon="fa-cloud-download" clickFun="PtPeople.import()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptPeople/childs")){
                                <#button name="子女管理" icon="fa-users" clickFun="PtPeople.childs()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptPeople/batchDel")){
                            <#button name="批量删除" icon="fa-remove" clickFun="PtPeople.batchDelete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptPeople/batchDisable")){
                            <#button name="批量冻结" icon="fa-lock" clickFun="PtPeople.updateEnable(0)" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptPeople/batchEnable")){
                            <#button name="批量启用" icon="fa-unlock" clickFun="PtPeople.updateEnable(1)" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptPeople/export")){
                            <#button name="导出" icon="fa-cloud-upload" clickFun="PtPeople.export()" space="true"/>
                            @}
                        </div>
                        <#table id="PtPeopleTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/ptPeople/ptPeople.js"></script>
@}
